package cn.jwcat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 房区
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("s_area")
public class Area implements Serializable {

	/**
	 * id
	 */
	@TableId(value = "area_id", type = IdType.AUTO)
	private Integer areaId;

	/**
	 * 名称
	 */
	@TableField("area_name")
	private String areaName;

	/**
	 * 状态
	 */
	@TableField("status")
	private Boolean status;

	/**
	 * 启用时间
	 */
	@TableField("update_time")
	private LocalDateTime updateTime;
}
